<?php session_start();

echo "<?xml version='1.0' encoding='iso-8859-1'?>";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
?>

<html>
<head> <title>Feexgoal Gemeinschaft</title>
<link rel="Stylesheet" type="text/css" href="../Layout.css">

<?php include($_SESSION['tlink']);
require_once('../feed/rss_fetch.inc');
$url = 'http://www.fussball24.de/rss.php';
//$url = 'http://www.netzeitung.de/export/news/rss/bundesliga.xml';

//Untermenu bzw. Unteranzeige darstellen
echo "<DIV class='specialmenu_frame'>";
	echo "<DIV class='special_menu_selecttopmenu05'></DIV>";
	echo "<DIV style='width:100px; float:left;'>&nbsp;</DIV>";
	echo "<DIV style='width:100px; float:left;'>&nbsp;</DIV>";
	echo "<DIV style='width:100px; float:left;'>&nbsp;</DIV>";
	echo "<a href='buli_tabelle.php' class='navsub'>Tabelle</a>";
	echo "<a href='buli_spieltag.php' class='navsub'>Ergebnisse</a>";
	echo "<a href='buli_news.php' class='navsub_select'>Neuigkeiten</a>";
echo "</DIV>";

echo "<DIV class=innerframe>";
echo "<FONT class=normal_dark>";
$i = 0;
$rss = fetch_rss($url);
foreach ($rss->items as $item) {
	$title = $item[title];
	$link = $item[link];
	$desc = $item[description];
	if($i < 20) {
		echo "- <a href=$link target=_blank><FONT class=headline_red>$title</FONT></a><br>\n";
		echo "  ".$item[description]."<BR><BR>";
		$i++;
	}
}
echo "</FONT>";
echo "</DIV>";
?>